package com.sprucetec.live.enums;

/**
 * @ClassName LiveHighConcurrncyCategoryEnum
 * @Description: 直播mcq消费端消费模式
 * @Author Kenny
 * @Date 2020/5/29
 **/
public enum LiveHighConcurrncyCategoryEnum {

    DEFAULT("default", ""),// 直接消费方式
    BLOCK_QUEUE("queue", ""), // 阻塞队列方式
    SCHEDULED("scheduled", ""); //  定时任务方式批量插入，对应大并发
    private String type;
    private String desc;

    LiveHighConcurrncyCategoryEnum(String type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
